home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 32
/
Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso
/
Aminet
/
dev
/
lang
/
Python152.lha
/
Python-1.5
/
README
< prev
next >
Wrap
Text File
|
1999-04-30
|
6KB
|
176 lines
PYTHON 1.5.2
NOTES ON THE AMIGA PORT
April 30, 1999.
Conversion and Amiga specific code by Irmen de Jong.
(Original code by Guido van Rossum and others)
Read the file <DISCL_and_COPYRIGHT>!
It contains the disclaimer for this software, and copyright notices.
Contents:
~~~~~~~~~
1. What's new?
2. General remarks.
3. Troubleshooting.
4. Thanks.
+----------------------+
| |
| 1. What's new? |
| |
+----------------------+
IMPORTANT CHANGES SINCE THE PREVIOUS VERSION (version 1.5.1 build 18):
- Based on the official 1.5.2 sources and library.
1.5.1 will be phased out. I won't release updates for 1.5.1 anymore.
+----------------------+
| |
| 2. General remarks |
| |
+----------------------+
* The MAIN PYTHON SITE is <http://www.python.org>. All general documentation
can be obtained from here (Python tutorial, language reference, library
reference and much more).
* The above mentioned documentation is also available on Aminet, as
dev/lang/Python152_Doc.lha.
* The AmigaPython homepage is at http://www.bigfoot.com/~irmen/python.html
(note the new address!). Check it out for news, future plans, bugs etc.
You can also obtain the beta I-Net 225 version here.
* In the `Docs/Amiga' directory you can find the docs for the Amiga specific
modules and features. Read them, they contain vital information!
* The Python library contains an extensive test set.
To try it yourself, type (after installation):
Python -c "import test.autotest" (and have patience...)
Python -c "import test.autotest" (and have patience...)
(Yes: do it TWICE because the generated .pyc files need to be checked too).
(You can also start the RunTest.py script from the Workbench).
Some tests cannot run on the Amiga - they will be skipped.
The report at the end should say something like:
31 tests OK.
18 tests skipped: .....
If you don't start AmiTCP first, test_socket and test_select will fail.
If usergroup.library cannot be opened, crypt, grp and pwd will fail.
* To see some command line options, use the -? option, or any other
unrecognised option.
* To run a speed benchmark, type:
Python -c "import test.pystone; test.pystone.main()"
and have some patience. On my system, I get 366 pystones/second.
* In the `Icons' directory there are some icon suggestions.
def_py.info is an icon for Python source files (.py)
def_pyc.info is an icon for Pytnon bytecode files (.pyc)
* The following modules are built-in in this release:
ARexxll Doslib amiga array
binascii cPickle cStringIO cmath
crypt environment errno grp
imp marshal math md5
new operator pcre pwd
regex rotor select sha
socket soundex strop struct
sys syslog time
Amiga specific: amiga, ARexxll, Doslib, environment
Needs usergroup.library: crypt, grp, pwd.
Needs AmiTCP's bsdsocket.library: select, socket, syslog.
* Mail me if you encounter any Amiga specific problems, or if you have any
Amiga related questions about Python, or just for fun. General
questions are better asked on the usenet newsgroup comp.lang.python. A lot
of information, including an online manual, can be obtained from
<http://www.python.org/>. Read the FAQ before asking!
+-----------------------+
| |
| 3. Troubleshooting |
| |
+-----------------------+
* When I try to install Python, I get "Unable to open your tool
'installer'"!
The Installer® utility is required for installation, but it is not included
in the archive. Get it from somewhere else and copy it to your C:
directory or somewhere where Workbench can find it.
* When I start python, I get "This program requires a math co-processor"!
You should upgrade your computer to at least a 68030 with a FPU.
* I get "Couldn't open bsdsocket.library" or "Couldn't open
usergroup.library" errors!
You are trying to use functions that need one of these libraries. AmiTCP
is required if you want to use all (network) functions.
* Python crashes when executing complex (recursive) code!
This should not happen; you should get a MemoryError exception. If it does
crash, increase your stack size and try again. Python's default stack size
is 20K, which should be enough for most programs.
* Functions which use the PIPE: device (like os.popen) seem to work
incorrectly!
The default l:queue-handler is buggy. Make sure you have installed a fixed
l:queue-handler (I'm using util/sys/HWGQueue.lha from Aminet)
* I cannot import Dos or ARexx!
Try `import site' first.
* Other errors
Mail me at irmen@bigfoot.com with a clear description of the problem.
+-----------------------+
| |
| 4. Thanks |
| |
+-----------------------+
Ofcourse this product could never have happened without the support of various
people. Amongst others I'd like to thank:
Guido van Rossum - for creating Python in the first place
Mike Meyer for his various suggestions and problem reports
Kent Polk for his various suggestions and problem reports
Lyster E. Wick for his various contributions (NewIcons/ARexx/WB/bugreports)
and my friends who supported me in the first phase of this project (that
was LONG ago, in the Python 1.2 days).
If you think your name is missing here, drop me a line.
Every AmigaPython user out there, thanks for your interest!
Irmen de Jong
(irmen@bigfoot.com)